package com.gzq.facade.sgw;

public class HomeTheatreClient {
    private Projector projector = new Projector();
    private Light light = new Light();
    private ProjectorScreen projectorScreen = new ProjectorScreen();
    private Stereo stereo = new Stereo();

    public void ready(){
        projector.start();
        light.close();
        projectorScreen.unfold();
        stereo.start();
    }

    public void  pause(){
        projector.pause();
        light.start();
    }

    public void play(){
        projector.play();
        light.close();
    }

    public void close(){
        projector.close();
        light.start();
        projectorScreen.fold();
        stereo.close();
    }

}
